package stud.mpgame.flash.assets;

import stud.mpgame.flash.assets.Kartinka;
import flash.display.PixelSnapping;

import flash.display.BitmapData;
import flash.display.Bitmap;
/**
 * ...
 * @author 
 */

 
 class ImageManager 
{

	public function new() 
	{
		
	}
	
	public function getBitmapByID(ID:Int): Bitmap {
		var bitmap;
		 switch( ID ) {
			case 0:  bitmap = new Bitmap(new Image_00(), PixelSnapping.AUTO, false) ; 
			case 2:  bitmap = new Bitmap(new Image_02(), PixelSnapping.AUTO, false) ; 
			case 3:  bitmap = new Bitmap(new Image_03(), PixelSnapping.AUTO, false) ; 
			case 4:  bitmap = new Bitmap(new Image_04(), PixelSnapping.AUTO, false) ; 
			case 5:  bitmap = new Bitmap(new Image_05(), PixelSnapping.AUTO, false) ; 
			case 6:  bitmap = new Bitmap(new Image_06(), PixelSnapping.AUTO, false) ; 
			case 9:  bitmap = new Bitmap(new Image_09(), PixelSnapping.AUTO, false) ; 
			case 10:  bitmap = new Bitmap(new Image_10(), PixelSnapping.AUTO, false) ; 
			case 11:  bitmap = new Bitmap(new Image_11(), PixelSnapping.AUTO, false) ; 
			case 12:  bitmap = new Bitmap(new Image_12(), PixelSnapping.AUTO, false) ; 
			case 13:  bitmap = new Bitmap(new Image_13(), PixelSnapping.AUTO, false) ; 
			case 14:  bitmap = new Bitmap(new Image_14(), PixelSnapping.AUTO, false) ; 
			case 15:  bitmap = new Bitmap(new Image_15(), PixelSnapping.AUTO, false) ; 
			case 16:  bitmap = new Bitmap(new Image_16(), PixelSnapping.AUTO, false) ; 
			case 17:  bitmap = new Bitmap(new Image_17(), PixelSnapping.AUTO, false) ; 
			case 18:  bitmap = new Bitmap(new Image_18(), PixelSnapping.AUTO, false) ; 
			case 19:  bitmap = new Bitmap(new Image_19(), PixelSnapping.AUTO, false) ; 
			case 20:  bitmap = new Bitmap(new Image_20(), PixelSnapping.AUTO, false) ; 
			case 21:  bitmap = new Bitmap(new Image_21(), PixelSnapping.AUTO, false) ; 
			case 22:  bitmap = new Bitmap(new Image_22(), PixelSnapping.AUTO, false) ; 
			case 23:  bitmap = new Bitmap(new Image_23(), PixelSnapping.AUTO, false) ; 
			case 24:  bitmap = new Bitmap(new Image_24(), PixelSnapping.AUTO, false) ; 
			case 25:  bitmap = new Bitmap(new Image_25(), PixelSnapping.AUTO, false) ; 
			case 26:  bitmap = new Bitmap(new Image_26(), PixelSnapping.AUTO, false) ; 
			case 27:  bitmap = new Bitmap(new Image_27(), PixelSnapping.AUTO, false) ; 
			case 28:  bitmap = new Bitmap(new Image_28(), PixelSnapping.AUTO, false) ; 
			case 29:  bitmap = new Bitmap(new Image_29(), PixelSnapping.AUTO, false) ; 
   
			default: bitmap = new Bitmap(new Default(), PixelSnapping.AUTO, false) ; 
			}
		
        return bitmap;
    }
	
}
//number -> number picture
import flash.display.BitmapData;
class Default extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_00 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_02 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_03 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_04 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_05 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_06 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_09 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_10 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_11 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_12 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_13 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_14 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_15 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_16 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_17 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_18 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_19 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_20 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_21 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_22 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_23 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_24 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_25 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_26 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_27 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_28 extends BitmapData { public function new() { super(0, 0); }}

import flash.display.BitmapData;
class Image_29 extends BitmapData { public function new() { super(0, 0); }}

